package com.dyh.quickdemozwei.avgDemo;

public class Choose extends AvgCommand {

    public String jump;

    @Override
    int execute(AvgScenario scenario, AvgEngine avgEngine) {

        jump = (String) avgEngine.avgInput.val;
        scenario.currentScene = scenario.seceneMap.get(jump);

        scenario.continueScene = true;
        return 1;
    }
}
